package com.fgxia;

import com.ruoyi.common.constant.QueueConstant;
import com.ruoyi.common.utils.redis.QueueUtils;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.metrics.buffering.BufferingApplicationStartup;
import org.springframework.context.annotation.ComponentScan;

/**
 * 启动程序
 *
 * @author ruoyi
 */

@SpringBootApplication
@ComponentScan(value = {"com.ruoyi", "com.fgxia"})
@MapperScan(value = {"com.ruoyi.*.mapper"})
public class AdminApplication {

    public static void main(String[] args) {
        System.setProperty("spring.devtools.restart.enabled", "false");
        SpringApplication application = new SpringApplication(AdminApplication.class);
        application.setApplicationStartup(new BufferingApplicationStartup(2048));
        application.run(args);
        System.out.println("(♥◠‿◠)ﾉﾞ  fgxia-code-0003-admin启动成功   ლ(´ڡ`ლ)ﾞ");
    }

}
